I am working on renewing our event integration to PD and I am using the Go package (github.com/PagerDuty/go-pagerduty).
The only part that doesn’t seem to work is setting the timestamp in the payload to the actual time of the event. I have tried various ISO8601 / RFC3339 formats, just in case it is fussy, but none seem to work.
Am I pushing water uphill or should this work?
The formats I have tried are time.RFC3339 and then changing the timezone to match the examples in the dev docs (i.e. 2006-01-02T15:04:05-0700 and 2006-01-02T15:04:05-07:00). I can see the correct test value is passed to ManageEventWithContext() but in the dev web interface all events raise incidents with wall time and not the embedded value (from yesterday or an hour ago, in case there is a limit).
When viewing the underlying message in the web side it is in the old V1 format not PD-CEF and so carries no time information.
Any ideas or guidance, please?
Thanks!
What is the type of the integration corresponding to the key in use? If all events were showing up as V1 when received then I would first check to make sure that it is an Events API V2 integration. If that’s not already the case then it would be, as you say, like pushing water uphill. Otherwise, it could possibly be something to look into with respect to the client or how it is configured.

.
I similarly tried going through the add integration UI to confirm and I saw Events API V2 showing up under “Popular Integrations”, but it does not show up in results when I search for it by name.


